package com.fourth.controller;

import com.fourth.service.UBBusinessServcie;
import com.ljx.vo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author 蒋一飞
 * @adte 2023/3/2 11:50
 */
@RestController
@RequestMapping("home/zoneBusiness")
public class UBBusinessController {

    @Resource
    private UBBusinessServcie ubBusinessServcie;

    /***
     * 查询首页商家信息
     * @return
     */
    @GetMapping("/selectZoneBusiness")
    public Result selectZoneBusiness(){
       return ubBusinessServcie.getBusiness();
    }
}
